﻿using System;
using System.Web;
using System.Web.Configuration;

namespace AjaxUploadServer
{
	public class ServerMan
	{
		public static HttpRequest GetHttpRequest()
		{
			if (HttpContext.Current == null)
				return null;
			return HttpContext.Current.Request;
		}
		public static HttpResponse GetHttpResponse()
		{
			if (HttpContext.Current == null)
				return null;
			return HttpContext.Current.Response;
		}

		public static string CommandHeader
		{
			get
			{
				return null;
				//return WebConfigurationManager.AppSettings.Get("C"
			}
		}

		public static void GetCommand()
		{
			
		}

		public ServerMan ()
		{
		}
	}
}

